package com.lzy.mall.ware.feign;

import com.lzy.mall.common.utils.ResultUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author lzy
 * @date 2021/10/11 16:40
 */
@FeignClient("mall-order")
public interface OrderFeignService {
    @GetMapping("/order/status/{orderSn}")
    ResultUtils getOrderBySn(@PathVariable("orderSn") String orderSn);
}
